package com.example.job.service;

import com.alibaba.fastjson.JSONObject;
import com.example.db.model.IPage;
import com.example.job.model.JobModel;

import java.util.List;

/**
 * @Classname JobModelService
 * @Description TODO
 * @Date 2022/8/2 21:26
 * @Created by XiongXiong
 * @Author: X.I.O
 */
public interface JobModelService {

    public JobModel save(JobModel jobModel);

    public JobModel updateById(JobModel jobModel);

    public IPage<JobModel> page(int pageNum, int pageSize, JSONObject object);

    public JobModel getById(Object id);

    public List<JobModel> getJobModelList();

    public JobModel getJobModelorJSONObject(JSONObject object);
}
